<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::LabeledEuclideanClusterExtraction&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_labeled_euclidean_cluster_extraction.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-types">Private 类型</a> &#124;
<a href="classpcl_1_1_labeled_euclidean_cluster_extraction-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::LabeledEuclideanClusterExtraction&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><b><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html" title="LabeledEuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclid...">LabeledEuclideanClusterExtraction</a></b> represents a segmentation class for cluster extraction in an Euclidean sense, with label info.  
 <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="extract__labeled__clusters_8h_source.html">extract_labeled_clusters.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::LabeledEuclideanClusterExtraction&lt; PointT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1_labeled_euclidean_cluster_extraction.png" usemap="#pcl::LabeledEuclideanClusterExtraction_3C_20PointT_20_3E_map" alt=""/>
  <map id="pcl::LabeledEuclideanClusterExtraction_3C_20PointT_20_3E_map" name="pcl::LabeledEuclideanClusterExtraction_3C_20PointT_20_3E_map">
<area href="classpcl_1_1_p_c_l_base.html" title="PCL base class. Implements methods that are used by most PCL algorithms." alt="pcl::PCLBase&lt; PointT &gt;" shape="rect" coords="0,0,291,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a6ef9e7b090ab2d4a0fed1bccf614169e"><td class="memItemLeft" align="right" valign="top"><a id="a6ef9e7b090ab2d4a0fed1bccf614169e"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloud</b></td></tr>
<tr class="separator:a6ef9e7b090ab2d4a0fed1bccf614169e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12a1600c78a127cc6c67c5743b31184c"><td class="memItemLeft" align="right" valign="top"><a id="a12a1600c78a127cc6c67c5743b31184c"></a>
typedef PointCloud::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudPtr</b></td></tr>
<tr class="separator:a12a1600c78a127cc6c67c5743b31184c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad74b0b1ec6e4f4b0f22a0115e29a88d1"><td class="memItemLeft" align="right" valign="top"><a id="ad74b0b1ec6e4f4b0f22a0115e29a88d1"></a>
typedef PointCloud::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudConstPtr</b></td></tr>
<tr class="separator:ad74b0b1ec6e4f4b0f22a0115e29a88d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a6039de5fce4770faa2e6cada418f8a"><td class="memItemLeft" align="right" valign="top"><a id="a9a6039de5fce4770faa2e6cada418f8a"></a>
typedef <a class="el" href="classpcl_1_1search_1_1_search.html">pcl::search::Search</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>KdTree</b></td></tr>
<tr class="separator:a9a6039de5fce4770faa2e6cada418f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dafcaec7776a6d250fa2c279eafee44"><td class="memItemLeft" align="right" valign="top"><a id="a2dafcaec7776a6d250fa2c279eafee44"></a>
typedef <a class="el" href="classpcl_1_1search_1_1_search.html">pcl::search::Search</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>KdTreePtr</b></td></tr>
<tr class="separator:a2dafcaec7776a6d250fa2c279eafee44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c7de8d4497ebe2207e52ded6b36923"><td class="memItemLeft" align="right" valign="top"><a id="a82c7de8d4497ebe2207e52ded6b36923"></a>
typedef PointIndices::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesPtr</b></td></tr>
<tr class="separator:a82c7de8d4497ebe2207e52ded6b36923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c73ad71727ebfb35055f2575d7a31f2"><td class="memItemLeft" align="right" valign="top"><a id="a2c73ad71727ebfb35055f2575d7a31f2"></a>
typedef PointIndices::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesConstPtr</b></td></tr>
<tr class="separator:a2c73ad71727ebfb35055f2575d7a31f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classpcl_1_1_p_c_l_base"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classpcl_1_1_p_c_l_base')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="classpcl_1_1_p_c_l_base.html">pcl::PCLBase&lt; PointT &gt;</a></td></tr>
<tr class="memitem:ae2f6f6863a73337858b7a7a054eaae4f inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ae2f6f6863a73337858b7a7a054eaae4f"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloud</b></td></tr>
<tr class="separator:ae2f6f6863a73337858b7a7a054eaae4f inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84dd662cda89edb882fe5307b2136ea inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ab84dd662cda89edb882fe5307b2136ea"></a>
typedef PointCloud::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudPtr</b></td></tr>
<tr class="separator:ab84dd662cda89edb882fe5307b2136ea inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8326513fad0680b6993e2f1a79a6af4 inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ac8326513fad0680b6993e2f1a79a6af4"></a>
typedef PointCloud::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudConstPtr</b></td></tr>
<tr class="separator:ac8326513fad0680b6993e2f1a79a6af4 inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51eae0c7b3e0b7178f4894dff90660a inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ae51eae0c7b3e0b7178f4894dff90660a"></a>
typedef boost::shared_ptr&lt; <a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesPtr</b></td></tr>
<tr class="separator:ae51eae0c7b3e0b7178f4894dff90660a inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51771056fb4ab8c448a11157acbe2ee0 inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="a51771056fb4ab8c448a11157acbe2ee0"></a>
typedef boost::shared_ptr&lt; <a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> const  &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesConstPtr</b></td></tr>
<tr class="separator:a51771056fb4ab8c448a11157acbe2ee0 inherit pub_types_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aeb0c842737e6f8550acec449c91e24e2"><td class="memItemLeft" align="right" valign="top"><a id="aeb0c842737e6f8550acec449c91e24e2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aeb0c842737e6f8550acec449c91e24e2">LabeledEuclideanClusterExtraction</a> ()</td></tr>
<tr class="memdesc:aeb0c842737e6f8550acec449c91e24e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor. <br /></td></tr>
<tr class="separator:aeb0c842737e6f8550acec449c91e24e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd57eb803891a081f460d17b2c7be311"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#afd57eb803891a081f460d17b2c7be311">setSearchMethod</a> (const KdTreePtr &amp;tree)</td></tr>
<tr class="memdesc:afd57eb803891a081f460d17b2c7be311"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the search object.  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#afd57eb803891a081f460d17b2c7be311">更多...</a><br /></td></tr>
<tr class="separator:afd57eb803891a081f460d17b2c7be311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3d236a3f8969199c577b0c421a3b759"><td class="memItemLeft" align="right" valign="top"><a id="ac3d236a3f8969199c577b0c421a3b759"></a>
KdTreePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ac3d236a3f8969199c577b0c421a3b759">getSearchMethod</a> () const</td></tr>
<tr class="memdesc:ac3d236a3f8969199c577b0c421a3b759"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the search method used. <br /></td></tr>
<tr class="separator:ac3d236a3f8969199c577b0c421a3b759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1641a63140b5c97d1785cf8c941be2df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1641a63140b5c97d1785cf8c941be2df">setClusterTolerance</a> (double tolerance)</td></tr>
<tr class="memdesc:a1641a63140b5c97d1785cf8c941be2df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the spatial cluster tolerance as a measure in the L2 Euclidean space  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1641a63140b5c97d1785cf8c941be2df">更多...</a><br /></td></tr>
<tr class="separator:a1641a63140b5c97d1785cf8c941be2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c6d5852fb2186f2cc2ccc7a814639e7"><td class="memItemLeft" align="right" valign="top"><a id="a7c6d5852fb2186f2cc2ccc7a814639e7"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a7c6d5852fb2186f2cc2ccc7a814639e7">getClusterTolerance</a> () const</td></tr>
<tr class="memdesc:a7c6d5852fb2186f2cc2ccc7a814639e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the spatial cluster tolerance as a measure in the L2 Euclidean space. <br /></td></tr>
<tr class="separator:a7c6d5852fb2186f2cc2ccc7a814639e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39085522e8146e56aa78f5185207196c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a39085522e8146e56aa78f5185207196c">setMinClusterSize</a> (int min_cluster_size)</td></tr>
<tr class="memdesc:a39085522e8146e56aa78f5185207196c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum number of points that a cluster needs to contain in order to be considered valid.  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a39085522e8146e56aa78f5185207196c">更多...</a><br /></td></tr>
<tr class="separator:a39085522e8146e56aa78f5185207196c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb53f18aef735b55743157db821fedf5"><td class="memItemLeft" align="right" valign="top"><a id="acb53f18aef735b55743157db821fedf5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acb53f18aef735b55743157db821fedf5">getMinClusterSize</a> () const</td></tr>
<tr class="memdesc:acb53f18aef735b55743157db821fedf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum number of points that a cluster needs to contain in order to be considered valid. <br /></td></tr>
<tr class="separator:acb53f18aef735b55743157db821fedf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b2bdc18179d4f305ed82386bca5387"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ae0b2bdc18179d4f305ed82386bca5387">setMaxClusterSize</a> (int max_cluster_size)</td></tr>
<tr class="memdesc:ae0b2bdc18179d4f305ed82386bca5387"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of points that a cluster needs to contain in order to be considered valid.  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ae0b2bdc18179d4f305ed82386bca5387">更多...</a><br /></td></tr>
<tr class="separator:ae0b2bdc18179d4f305ed82386bca5387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56228dc8fb7406a32510ac5195973731"><td class="memItemLeft" align="right" valign="top"><a id="a56228dc8fb7406a32510ac5195973731"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a56228dc8fb7406a32510ac5195973731">getMaxClusterSize</a> () const</td></tr>
<tr class="memdesc:a56228dc8fb7406a32510ac5195973731"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum number of points that a cluster needs to contain in order to be considered valid. <br /></td></tr>
<tr class="separator:a56228dc8fb7406a32510ac5195973731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aae8ef0233f3dd0fe43b5f189f5e6c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6aae8ef0233f3dd0fe43b5f189f5e6c4">setMaxLabels</a> (unsigned int max_label)</td></tr>
<tr class="memdesc:a6aae8ef0233f3dd0fe43b5f189f5e6c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of labels in the cloud.  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6aae8ef0233f3dd0fe43b5f189f5e6c4">更多...</a><br /></td></tr>
<tr class="separator:a6aae8ef0233f3dd0fe43b5f189f5e6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9122e13096a81db388ceff0f133406bd"><td class="memItemLeft" align="right" valign="top"><a id="a9122e13096a81db388ceff0f133406bd"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a9122e13096a81db388ceff0f133406bd">getMaxLabels</a> () const</td></tr>
<tr class="memdesc:a9122e13096a81db388ceff0f133406bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum number of labels <br /></td></tr>
<tr class="separator:a9122e13096a81db388ceff0f133406bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5228a97635de376020eeb7a22a1a7836"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a5228a97635de376020eeb7a22a1a7836">extract</a> (std::vector&lt; std::vector&lt; <a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &gt; &gt; &amp;labeled_clusters)</td></tr>
<tr class="memdesc:a5228a97635de376020eeb7a22a1a7836"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cluster extraction in a <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> given by &lt;setInputCloud (), setIndices ()&gt;  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a5228a97635de376020eeb7a22a1a7836">更多...</a><br /></td></tr>
<tr class="separator:a5228a97635de376020eeb7a22a1a7836"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1_p_c_l_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1_p_c_l_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1_p_c_l_base.html">pcl::PCLBase&lt; PointT &gt;</a></td></tr>
<tr class="memitem:af4fbc5eb005057f8a0fc6d60bde595df inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="af4fbc5eb005057f8a0fc6d60bde595df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#af4fbc5eb005057f8a0fc6d60bde595df">PCLBase</a> ()</td></tr>
<tr class="memdesc:af4fbc5eb005057f8a0fc6d60bde595df inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor. <br /></td></tr>
<tr class="separator:af4fbc5eb005057f8a0fc6d60bde595df inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a6dd7a91275d7737cf1b18005b47244 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="a7a6dd7a91275d7737cf1b18005b47244"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a7a6dd7a91275d7737cf1b18005b47244">PCLBase</a> (const <a class="el" href="classpcl_1_1_p_c_l_base.html">PCLBase</a> &amp;base)</td></tr>
<tr class="memdesc:a7a6dd7a91275d7737cf1b18005b47244 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a7a6dd7a91275d7737cf1b18005b47244 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d6846e98e59c37dcc3dc9958d53966 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ad5d6846e98e59c37dcc3dc9958d53966"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#ad5d6846e98e59c37dcc3dc9958d53966">~PCLBase</a> ()</td></tr>
<tr class="memdesc:ad5d6846e98e59c37dcc3dc9958d53966 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ad5d6846e98e59c37dcc3dc9958d53966 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1952d7101f3942bac3b69ed55c1ca7ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a1952d7101f3942bac3b69ed55c1ca7ea">setInputCloud</a> (const PointCloudConstPtr &amp;cloud)</td></tr>
<tr class="memdesc:a1952d7101f3942bac3b69ed55c1ca7ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the input dataset  <a href="classpcl_1_1_p_c_l_base.html#a1952d7101f3942bac3b69ed55c1ca7ea">更多...</a><br /></td></tr>
<tr class="separator:a1952d7101f3942bac3b69ed55c1ca7ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cd745c4f7a792212f4fc3720b9d46ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="a8cd745c4f7a792212f4fc3720b9d46ea"></a>
PointCloudConstPtr const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a8cd745c4f7a792212f4fc3720b9d46ea">getInputCloud</a> () const</td></tr>
<tr class="memdesc:a8cd745c4f7a792212f4fc3720b9d46ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the input point cloud dataset. <br /></td></tr>
<tr class="separator:a8cd745c4f7a792212f4fc3720b9d46ea inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab219359de6eb34c9d51e2e976dd1a0d1 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#ab219359de6eb34c9d51e2e976dd1a0d1">setIndices</a> (const IndicesPtr &amp;indices)</td></tr>
<tr class="memdesc:ab219359de6eb34c9d51e2e976dd1a0d1 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the vector of indices that represents the input data.  <a href="classpcl_1_1_p_c_l_base.html#ab219359de6eb34c9d51e2e976dd1a0d1">更多...</a><br /></td></tr>
<tr class="separator:ab219359de6eb34c9d51e2e976dd1a0d1 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a436c68c74b31e4dd00000adfbb11ca7c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a436c68c74b31e4dd00000adfbb11ca7c">setIndices</a> (const IndicesConstPtr &amp;indices)</td></tr>
<tr class="memdesc:a436c68c74b31e4dd00000adfbb11ca7c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the vector of indices that represents the input data.  <a href="classpcl_1_1_p_c_l_base.html#a436c68c74b31e4dd00000adfbb11ca7c">更多...</a><br /></td></tr>
<tr class="separator:a436c68c74b31e4dd00000adfbb11ca7c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9cc90d8364ce968566f75800d3773ca inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#af9cc90d8364ce968566f75800d3773ca">setIndices</a> (const PointIndicesConstPtr &amp;indices)</td></tr>
<tr class="memdesc:af9cc90d8364ce968566f75800d3773ca inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the vector of indices that represents the input data.  <a href="classpcl_1_1_p_c_l_base.html#af9cc90d8364ce968566f75800d3773ca">更多...</a><br /></td></tr>
<tr class="separator:af9cc90d8364ce968566f75800d3773ca inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a930c7a6375fdf65ff8cfdb4eb4a6d996 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a930c7a6375fdf65ff8cfdb4eb4a6d996">setIndices</a> (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols)</td></tr>
<tr class="memdesc:a930c7a6375fdf65ff8cfdb4eb4a6d996 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the indices for the points laying within an interest region of the point cloud.  <a href="classpcl_1_1_p_c_l_base.html#a930c7a6375fdf65ff8cfdb4eb4a6d996">更多...</a><br /></td></tr>
<tr class="separator:a930c7a6375fdf65ff8cfdb4eb4a6d996 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a058753dd4de73d3d0062fe2e452fba3c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="a058753dd4de73d3d0062fe2e452fba3c"></a>
IndicesPtr const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a058753dd4de73d3d0062fe2e452fba3c">getIndices</a> ()</td></tr>
<tr class="memdesc:a058753dd4de73d3d0062fe2e452fba3c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the vector of indices used. <br /></td></tr>
<tr class="separator:a058753dd4de73d3d0062fe2e452fba3c inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acae187b37230758959572ceb1e6e2045 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="acae187b37230758959572ceb1e6e2045"></a>
IndicesConstPtr const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#acae187b37230758959572ceb1e6e2045">getIndices</a> () const</td></tr>
<tr class="memdesc:acae187b37230758959572ceb1e6e2045 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the vector of indices used. <br /></td></tr>
<tr class="separator:acae187b37230758959572ceb1e6e2045 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7335fedb0af0930b9d1dedcb54ba201 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#af7335fedb0af0930b9d1dedcb54ba201">operator[]</a> (size_t pos) const</td></tr>
<tr class="memdesc:af7335fedb0af0930b9d1dedcb54ba201 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> operator[] to shorten code  <a href="classpcl_1_1_p_c_l_base.html#af7335fedb0af0930b9d1dedcb54ba201">更多...</a><br /></td></tr>
<tr class="separator:af7335fedb0af0930b9d1dedcb54ba201 inherit pub_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aa9302538f46cbb80a2a21908b46f5c10"><td class="memItemLeft" align="right" valign="top"><a id="aa9302538f46cbb80a2a21908b46f5c10"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aa9302538f46cbb80a2a21908b46f5c10">getClassName</a> () const</td></tr>
<tr class="memdesc:aa9302538f46cbb80a2a21908b46f5c10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class getName method. <br /></td></tr>
<tr class="separator:aa9302538f46cbb80a2a21908b46f5c10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acceb20854934f4cf77e266eb5a44d4f0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acceb20854934f4cf77e266eb5a44d4f0">initCompute</a> ()</td></tr>
<tr class="memdesc:acceb20854934f4cf77e266eb5a44d4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method should get called before starting the actual computation.  <a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acceb20854934f4cf77e266eb5a44d4f0">更多...</a><br /></td></tr>
<tr class="separator:acceb20854934f4cf77e266eb5a44d4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc426c4eebb94b7734d4fa556bff1420"><td class="memItemLeft" align="right" valign="top"><a id="afc426c4eebb94b7734d4fa556bff1420"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#afc426c4eebb94b7734d4fa556bff1420">deinitCompute</a> ()</td></tr>
<tr class="memdesc:afc426c4eebb94b7734d4fa556bff1420"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method should get called after finishing the actual computation. <br /></td></tr>
<tr class="separator:afc426c4eebb94b7734d4fa556bff1420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classpcl_1_1_p_c_l_base"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classpcl_1_1_p_c_l_base')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classpcl_1_1_p_c_l_base.html">pcl::PCLBase&lt; PointT &gt;</a></td></tr>
<tr class="memitem:acceb20854934f4cf77e266eb5a44d4f0 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#acceb20854934f4cf77e266eb5a44d4f0">initCompute</a> ()</td></tr>
<tr class="memdesc:acceb20854934f4cf77e266eb5a44d4f0 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method should get called before starting the actual computation.  <a href="classpcl_1_1_p_c_l_base.html#acceb20854934f4cf77e266eb5a44d4f0">更多...</a><br /></td></tr>
<tr class="separator:acceb20854934f4cf77e266eb5a44d4f0 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc426c4eebb94b7734d4fa556bff1420 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="afc426c4eebb94b7734d4fa556bff1420"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#afc426c4eebb94b7734d4fa556bff1420">deinitCompute</a> ()</td></tr>
<tr class="memdesc:afc426c4eebb94b7734d4fa556bff1420 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method should get called after finishing the actual computation. <br /></td></tr>
<tr class="separator:afc426c4eebb94b7734d4fa556bff1420 inherit pro_methods_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a23bdf23e935eb2f25a1352fe38c7bee0"><td class="memItemLeft" align="right" valign="top"><a id="a23bdf23e935eb2f25a1352fe38c7bee0"></a>
KdTreePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a></td></tr>
<tr class="memdesc:a23bdf23e935eb2f25a1352fe38c7bee0"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the spatial search object. <br /></td></tr>
<tr class="separator:a23bdf23e935eb2f25a1352fe38c7bee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a289a8169284944c230d7e588263c4a3c"><td class="memItemLeft" align="right" valign="top"><a id="a289a8169284944c230d7e588263c4a3c"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a289a8169284944c230d7e588263c4a3c">cluster_tolerance_</a></td></tr>
<tr class="memdesc:a289a8169284944c230d7e588263c4a3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The spatial cluster tolerance as a measure in the L2 Euclidean space. <br /></td></tr>
<tr class="separator:a289a8169284944c230d7e588263c4a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0a6d20b2b191bb468b5d5beff8780f"><td class="memItemLeft" align="right" valign="top"><a id="a6b0a6d20b2b191bb468b5d5beff8780f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6b0a6d20b2b191bb468b5d5beff8780f">min_pts_per_cluster_</a></td></tr>
<tr class="memdesc:a6b0a6d20b2b191bb468b5d5beff8780f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum number of points that a cluster needs to contain in order to be considered valid (default = 1). <br /></td></tr>
<tr class="separator:a6b0a6d20b2b191bb468b5d5beff8780f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade70ef080f7e5643db57aec94d244d9b"><td class="memItemLeft" align="right" valign="top"><a id="ade70ef080f7e5643db57aec94d244d9b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ade70ef080f7e5643db57aec94d244d9b">max_pts_per_cluster_</a></td></tr>
<tr class="memdesc:ade70ef080f7e5643db57aec94d244d9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of points that a cluster needs to contain in order to be considered valid (default = MAXINT). <br /></td></tr>
<tr class="separator:ade70ef080f7e5643db57aec94d244d9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1528fcb916b7415cbb1d3372c4465913"><td class="memItemLeft" align="right" valign="top"><a id="a1528fcb916b7415cbb1d3372c4465913"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1528fcb916b7415cbb1d3372c4465913">max_label_</a></td></tr>
<tr class="memdesc:a1528fcb916b7415cbb1d3372c4465913"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum number of labels we can find in this pointcloud (default = MAXINT) <br /></td></tr>
<tr class="separator:a1528fcb916b7415cbb1d3372c4465913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09c70d8e06e3fb4f07903fe6f8d67869"><td class="memItemLeft" align="right" valign="top"><a id="a09c70d8e06e3fb4f07903fe6f8d67869"></a>
PointCloudConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a></td></tr>
<tr class="memdesc:a09c70d8e06e3fb4f07903fe6f8d67869"><td class="mdescLeft">&#160;</td><td class="mdescRight">The input point cloud dataset. <br /></td></tr>
<tr class="separator:a09c70d8e06e3fb4f07903fe6f8d67869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaee847c8a517ebf365bad2cb182a6626"><td class="memItemLeft" align="right" valign="top"><a id="aaee847c8a517ebf365bad2cb182a6626"></a>
IndicesPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a></td></tr>
<tr class="memdesc:aaee847c8a517ebf365bad2cb182a6626"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the vector of point indices to use. <br /></td></tr>
<tr class="separator:aaee847c8a517ebf365bad2cb182a6626"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1_p_c_l_base"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1_p_c_l_base')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1_p_c_l_base.html">pcl::PCLBase&lt; PointT &gt;</a></td></tr>
<tr class="memitem:a09c70d8e06e3fb4f07903fe6f8d67869 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="a09c70d8e06e3fb4f07903fe6f8d67869"></a>
PointCloudConstPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a></td></tr>
<tr class="memdesc:a09c70d8e06e3fb4f07903fe6f8d67869 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">The input point cloud dataset. <br /></td></tr>
<tr class="separator:a09c70d8e06e3fb4f07903fe6f8d67869 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaee847c8a517ebf365bad2cb182a6626 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="aaee847c8a517ebf365bad2cb182a6626"></a>
IndicesPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a></td></tr>
<tr class="memdesc:aaee847c8a517ebf365bad2cb182a6626 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the vector of point indices to use. <br /></td></tr>
<tr class="separator:aaee847c8a517ebf365bad2cb182a6626 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1eadb824d34ca9206a86343d9760bb inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="ada1eadb824d34ca9206a86343d9760bb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#ada1eadb824d34ca9206a86343d9760bb">use_indices_</a></td></tr>
<tr class="memdesc:ada1eadb824d34ca9206a86343d9760bb inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to true if point indices are used. <br /></td></tr>
<tr class="separator:ada1eadb824d34ca9206a86343d9760bb inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adadb0299f144528020ed558af6879662 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memItemLeft" align="right" valign="top"><a id="adadb0299f144528020ed558af6879662"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_p_c_l_base.html#adadb0299f144528020ed558af6879662">fake_indices_</a></td></tr>
<tr class="memdesc:adadb0299f144528020ed558af6879662 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="mdescLeft">&#160;</td><td class="mdescRight">If no set of indices are given, we construct a set of fake indices that mimic the input <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a>. <br /></td></tr>
<tr class="separator:adadb0299f144528020ed558af6879662 inherit pro_attribs_classpcl_1_1_p_c_l_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
Private 类型</h2></td></tr>
<tr class="memitem:a4dae98698872f56da876bc742cb4ae68"><td class="memItemLeft" align="right" valign="top"><a id="a4dae98698872f56da876bc742cb4ae68"></a>
typedef <a class="el" href="classpcl_1_1_p_c_l_base.html">PCLBase</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>BasePCLBase</b></td></tr>
<tr class="separator:a4dae98698872f56da876bc742cb4ae68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointT&gt;<br />
class pcl::LabeledEuclideanClusterExtraction&lt; PointT &gt;</h3>

<p><b><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html" title="LabeledEuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclid...">LabeledEuclideanClusterExtraction</a></b> represents a segmentation class for cluster extraction in an Euclidean sense, with label info. </p>
<dl class="section author"><dt>作者</dt><dd>Koen Buys </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a5228a97635de376020eeb7a22a1a7836"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5228a97635de376020eeb7a22a1a7836">&#9670;&nbsp;</a></span>extract()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::extract </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; std::vector&lt; <a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>labeled_clusters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cluster extraction in a <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> given by &lt;setInputCloud (), setIndices ()&gt; </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">labeled_clusters</td><td>the resultant point clusters </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acceb20854934f4cf77e266eb5a44d4f0">initCompute</a> () || </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a> != 0   &amp;&amp; <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points.empty ()) ||</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;      (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a> != 0 &amp;&amp; <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;empty ()))</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    labeled_clusters.clear ();</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="comment">// Initialize the spatial locator</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a>)</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;isOrganized ())</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a>.reset (<span class="keyword">new</span> <a class="code" href="classpcl_1_1search_1_1_organized_neighbor.html">pcl::search::OrganizedNeighbor&lt;PointT&gt;</a> ());</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;      <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a>.reset (<span class="keyword">new</span> <a class="code" href="classpcl_1_1search_1_1_kd_tree.html">pcl::search::KdTree&lt;PointT&gt;</a> (<span class="keyword">false</span>));</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  }</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="comment">// Send the input dataset to the spatial locator</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a>-&gt;setInputCloud (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  extractLabeledEuclideanClusters (*<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>, <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a>, <span class="keyword">static_cast&lt;</span><span class="keywordtype">float</span><span class="keyword">&gt;</span> (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a289a8169284944c230d7e588263c4a3c">cluster_tolerance_</a>), labeled_clusters, <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6b0a6d20b2b191bb468b5d5beff8780f">min_pts_per_cluster_</a>, <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ade70ef080f7e5643db57aec94d244d9b">max_pts_per_cluster_</a>, <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1528fcb916b7415cbb1d3372c4465913">max_label_</a>);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="comment">// Sort the clusters based on their size (largest one first)</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; static_cast&lt;int&gt; (labeled_clusters.size ()); i++)</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    std::sort (labeled_clusters[i].rbegin (), labeled_clusters[i].rend (), comparePointClusters);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#afc426c4eebb94b7734d4fa556bff1420">deinitCompute</a> ();</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_a09c70d8e06e3fb4f07903fe6f8d67869"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">pcl::LabeledEuclideanClusterExtraction::input_</a></div><div class="ttdeci">PointCloudConstPtr input_</div><div class="ttdoc">The input point cloud dataset.</div><div class="ttdef"><b>Definition:</b> pcl_base.h:150</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_a1528fcb916b7415cbb1d3372c4465913"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1528fcb916b7415cbb1d3372c4465913">pcl::LabeledEuclideanClusterExtraction::max_label_</a></div><div class="ttdeci">unsigned int max_label_</div><div class="ttdoc">The maximum number of labels we can find in this pointcloud (default = MAXINT)</div><div class="ttdef"><b>Definition:</b> extract_labeled_clusters.h:172</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_a23bdf23e935eb2f25a1352fe38c7bee0"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">pcl::LabeledEuclideanClusterExtraction::tree_</a></div><div class="ttdeci">KdTreePtr tree_</div><div class="ttdoc">A pointer to the spatial search object.</div><div class="ttdef"><b>Definition:</b> extract_labeled_clusters.h:160</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_a289a8169284944c230d7e588263c4a3c"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a289a8169284944c230d7e588263c4a3c">pcl::LabeledEuclideanClusterExtraction::cluster_tolerance_</a></div><div class="ttdeci">double cluster_tolerance_</div><div class="ttdoc">The spatial cluster tolerance as a measure in the L2 Euclidean space.</div><div class="ttdef"><b>Definition:</b> extract_labeled_clusters.h:163</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_a6b0a6d20b2b191bb468b5d5beff8780f"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6b0a6d20b2b191bb468b5d5beff8780f">pcl::LabeledEuclideanClusterExtraction::min_pts_per_cluster_</a></div><div class="ttdeci">int min_pts_per_cluster_</div><div class="ttdoc">The minimum number of points that a cluster needs to contain in order to be considered valid (default...</div><div class="ttdef"><b>Definition:</b> extract_labeled_clusters.h:166</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_aaee847c8a517ebf365bad2cb182a6626"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">pcl::LabeledEuclideanClusterExtraction::indices_</a></div><div class="ttdeci">IndicesPtr indices_</div><div class="ttdoc">A pointer to the vector of point indices to use.</div><div class="ttdef"><b>Definition:</b> pcl_base.h:153</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_acceb20854934f4cf77e266eb5a44d4f0"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acceb20854934f4cf77e266eb5a44d4f0">pcl::LabeledEuclideanClusterExtraction::initCompute</a></div><div class="ttdeci">bool initCompute()</div><div class="ttdoc">This method should get called before starting the actual computation.</div><div class="ttdef"><b>Definition:</b> pcl_base.hpp:139</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_ade70ef080f7e5643db57aec94d244d9b"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ade70ef080f7e5643db57aec94d244d9b">pcl::LabeledEuclideanClusterExtraction::max_pts_per_cluster_</a></div><div class="ttdeci">int max_pts_per_cluster_</div><div class="ttdoc">The maximum number of points that a cluster needs to contain in order to be considered valid (default...</div><div class="ttdef"><b>Definition:</b> extract_labeled_clusters.h:169</div></div>
<div class="ttc" id="aclasspcl_1_1_labeled_euclidean_cluster_extraction_html_afc426c4eebb94b7734d4fa556bff1420"><div class="ttname"><a href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#afc426c4eebb94b7734d4fa556bff1420">pcl::LabeledEuclideanClusterExtraction::deinitCompute</a></div><div class="ttdeci">bool deinitCompute()</div><div class="ttdoc">This method should get called after finishing the actual computation.</div><div class="ttdef"><b>Definition:</b> pcl_base.hpp:174</div></div>
<div class="ttc" id="aclasspcl_1_1search_1_1_kd_tree_html"><div class="ttname"><a href="classpcl_1_1search_1_1_kd_tree.html">pcl::search::KdTree</a></div><div class="ttdoc">search::KdTree is a wrapper class which inherits the pcl::KdTree class for performing search function...</div><div class="ttdef"><b>Definition:</b> kdtree.h:63</div></div>
<div class="ttc" id="aclasspcl_1_1search_1_1_organized_neighbor_html"><div class="ttname"><a href="classpcl_1_1search_1_1_organized_neighbor.html">pcl::search::OrganizedNeighbor</a></div><div class="ttdoc">OrganizedNeighbor is a class for optimized nearest neigbhor search in organized point clouds.</div><div class="ttdef"><b>Definition:</b> organized.h:63</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="acceb20854934f4cf77e266eb5a44d4f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acceb20854934f4cf77e266eb5a44d4f0">&#9670;&nbsp;</a></span>initCompute()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classpcl_1_1_p_c_l_base.html">pcl::PCLBase</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::initCompute</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method should get called before starting the actual computation. </p>
<p>Internally, <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#acceb20854934f4cf77e266eb5a44d4f0" title="This method should get called before starting the actual computation.">initCompute()</a> does the following:</p><ul>
<li>checks if an input dataset is given, and returns false otherwise</li>
<li>checks whether a set of input indices has been given. Returns true if yes.</li>
<li>if no input indices have been given, a fake set is created, which will be used until:<ul>
<li>either a new set is given via <a class="el" href="classpcl_1_1_p_c_l_base.html#ab219359de6eb34c9d51e2e976dd1a0d1" title="Provide a pointer to the vector of indices that represents the input data.">setIndices()</a>, or</li>
<li>a new cloud is given that has a different set of points. This will trigger an update on the set of fake indices </li>
</ul>
</li>
</ul>
<div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;{</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  <span class="comment">// Check if input was set</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>)</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <span class="comment">// If no point indices have been given, construct a set of indices for the entire input point cloud</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>)</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <a class="code" href="classpcl_1_1_p_c_l_base.html#adadb0299f144528020ed558af6879662">fake_indices_</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>.reset (<span class="keyword">new</span> std::vector&lt;int&gt;);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordflow">try</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;      <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;resize (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points.size ());</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::bad_alloc&amp;)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;      PCL_ERROR (<span class="stringliteral">&quot;[initCompute] Failed to allocate %lu indices.\n&quot;</span>, <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points.size ());</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    }</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i &lt; <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;size (); ++i) { (*indices_)[i] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(i); }</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  }</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  <span class="comment">// If we have a set of fake indices, but they do not match the number of points in the cloud, update them</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_p_c_l_base.html#adadb0299f144528020ed558af6879662">fake_indices_</a> &amp;&amp; <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;size () != <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points.size ())</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordtype">size_t</span> indices_size = <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;size ();</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;resize (<a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points.size ());</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = indices_size; i &lt; <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#aaee847c8a517ebf365bad2cb182a6626">indices_</a>-&gt;size (); ++i) { (*indices_)[i] = <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span>(i); }</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  }</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1_p_c_l_base_html_adadb0299f144528020ed558af6879662"><div class="ttname"><a href="classpcl_1_1_p_c_l_base.html#adadb0299f144528020ed558af6879662">pcl::PCLBase::fake_indices_</a></div><div class="ttdeci">bool fake_indices_</div><div class="ttdoc">If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.</div><div class="ttdef"><b>Definition:</b> pcl_base.h:159</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a1641a63140b5c97d1785cf8c941be2df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1641a63140b5c97d1785cf8c941be2df">&#9670;&nbsp;</a></span>setClusterTolerance()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setClusterTolerance </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tolerance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the spatial cluster tolerance as a measure in the L2 Euclidean space </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">tolerance</td><td>the spatial cluster tolerance as a measure in the L2 Euclidean space </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;{ <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a289a8169284944c230d7e588263c4a3c">cluster_tolerance_</a> = tolerance; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae0b2bdc18179d4f305ed82386bca5387"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b2bdc18179d4f305ed82386bca5387">&#9670;&nbsp;</a></span>setMaxClusterSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setMaxClusterSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_cluster_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the maximum number of points that a cluster needs to contain in order to be considered valid. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">max_cluster_size</td><td>the maximum cluster size </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;{ <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#ade70ef080f7e5643db57aec94d244d9b">max_pts_per_cluster_</a> = max_cluster_size; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6aae8ef0233f3dd0fe43b5f189f5e6c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6aae8ef0233f3dd0fe43b5f189f5e6c4">&#9670;&nbsp;</a></span>setMaxLabels()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setMaxLabels </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>max_label</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the maximum number of labels in the cloud. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">max_label</td><td>the maximum </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;{ <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a1528fcb916b7415cbb1d3372c4465913">max_label_</a> = max_label; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a39085522e8146e56aa78f5185207196c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39085522e8146e56aa78f5185207196c">&#9670;&nbsp;</a></span>setMinClusterSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setMinClusterSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>min_cluster_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the minimum number of points that a cluster needs to contain in order to be considered valid. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">min_cluster_size</td><td>the minimum cluster size </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;{ <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a6b0a6d20b2b191bb468b5d5beff8780f">min_pts_per_cluster_</a> = min_cluster_size; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="afd57eb803891a081f460d17b2c7be311"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd57eb803891a081f460d17b2c7be311">&#9670;&nbsp;</a></span>setSearchMethod()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">pcl::LabeledEuclideanClusterExtraction</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setSearchMethod </td>
          <td>(</td>
          <td class="paramtype">const KdTreePtr &amp;&#160;</td>
          <td class="paramname"><em>tree</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a pointer to the search object. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">tree</td><td>a pointer to the spatial search object. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;{ <a class="code" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html#a23bdf23e935eb2f25a1352fe38c7bee0">tree_</a> = tree; }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>segmentation/include/pcl/segmentation/<a class="el" href="extract__labeled__clusters_8h_source.html">extract_labeled_clusters.h</a></li>
<li>segmentation/include/pcl/segmentation/impl/<a class="el" href="extract__labeled__clusters_8hpp_source.html">extract_labeled_clusters.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_labeled_euclidean_cluster_extraction.html">LabeledEuclideanClusterExtraction</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
